﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MVCLD.Models.Article>" %>
<%@ Import Namespace="MVCLD.Settings" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Html.Encode(Model.ArticleTitle) %> - <%= Settings.GeneralSiteName.ToString() %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div id="articleholder">
    <h1><%= Html.Encode(Model.ArticleTitle) %></h1>
    <%= Model.ArticleContent %>
    <div id="articleresource">
        <h2>Resource</h2>
        <p class="submittedby"><strong>Submitted By:</strong> <%= Html.Encode(Model.SubmitterName) %></p>
        <p class="datesubmitted"><strong>Submitted On:</strong> <%= Html.Encode(String.Format("{0:g}", Model.SubmissionDate)) %></p>
        <p><%= Model.Resource %></p>
    </div>
</div>

</asp:Content>

